//
//  DCImageAndTextFieldView.h
//  JiuyaoMotorcade
//
//  Created by 大橙子 on 2018/12/1.
//  Copyright © 2018 Tomous. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger,DCImageShape)
{
    ImageIsSquare,//图片是正方形
    ImageIsRectangle,//图片是长方形
};
@interface DCImageAndTextFieldView : UIView
+(instancetype)creatViewWithFrame:(CGRect)frame image:(UIImage *__nullable)image imageShape:(DCImageShape)imageShape imageHeight:(CGFloat)imgH placeholder:(NSString *__nullable)placeholder isEdit:(BOOL)isEdit;

@property (nonatomic,strong) UIImageView *imageView;
@property (nonatomic,strong) UITextField *textField;
@end

NS_ASSUME_NONNULL_END
